<template>
	<view class="p_index">
		<Nav title="维修记录" left_text="返回" :bgcolor="bgcolor"></Nav>
		<List></List>
		
		<view class="add" @click="goadd">问题反馈</view>
	</view>
</template>

<script>
	import Nav from "../components/nav.vue";
	import List from "../components/repairs/list.vue";
	export default{
		components:{
			Nav,
			List
		},
		data(){
			return{
				bgcolor:"#fff"
			}
		}, 
		methods:{
			goadd(){
				uni.navigateTo({
					url:"/repairs/feedback_add"
				})
			}
		}
	}
</script>

<style lang="less">
	.p_index{
		padding-top: var(--status-bar-height);
		// height: 100vh;
		// background-color: #f0f0f0;
		.add{
			display: flex;
			justify-content: center;
			align-items: center;
			position: fixed;
			right: 30rpx;
			bottom: 200rpx;
			width: 150rpx;
			height: 150rpx;
			border-radius: 50%;
			background-color: #1f8fff;
			color: #fff;
			font-size: 45rpx;
			padding: 30rpx;
			box-sizing: border-box;
		}
	}
</style>